package com.zksk.admin.mapper.orders;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.zksk.admin.domain.orders.dto.OrdersDto;
import com.zksk.mbg.admin.domain.Orders;
import org.apache.ibatis.annotations.Param;


public interface OrdersDao extends BaseMapper<Orders> {

    /**
     * 订单与订单问题联查列表分页
     * @param page
     * @param queryWrapper
     * @return
     */
    IPage<OrdersDto> ordersList(IPage<Orders> page,
                                @Param(Constants.WRAPPER) Wrapper<Orders> queryWrapper);
}
